﻿using ASPMVCUtil.Helpers.Html.Grid;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using Domain;

namespace ShowcaseMVC5.Models
{
    public class GridRowFormatterImplCategory : GridRowFormatter<Category>
    {
        public override string Formatear(Category record)
        {
            if(record.Id % 2 == 0)
                return "red";
            else
                return "green";
        }
    }
}